package org.xt.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.PK;
import org.nutz.dao.entity.annotation.Table;

/**
 * 储物数据Summary 
 * @author XiangTao
 *
 */
@Table("tb_data_summary")
@PK({"dataMachineId", "dataItemId", "dataGJEHStateId", "dataTempputStateId"})
public class DataSummary extends BaseTable{
	@Column
	private int dataMachineId; //机种ID
	@Column
	private int dataItemId; //项目ID
	@Column
	private int dataGJEHStateId; //钢架状态ID
	@Column
	private int dataTempputStateId; //暂放状态ID
	@Column
	private double num; //机台数量
	@Column
	private int permissionId; //操作权限
	@Column
	private String info;
	
	public int getDataMachineId() {
		return dataMachineId;
	}
	public void setDataMachineId(int dataMachineId) {
		this.dataMachineId = dataMachineId;
	}
	public int getDataItemId() {
		return dataItemId;
	}
	public void setDataItemId(int dataItemId) {
		this.dataItemId = dataItemId;
	}
	public int getDataGJEHStateId() {
		return dataGJEHStateId;
	}
	public void setDataGJEHStateId(int dataGJEHStateId) {
		this.dataGJEHStateId = dataGJEHStateId;
	}
	
	public int getDataTempputStateId() {
		return dataTempputStateId;
	}
	public void setDataTempputStateId(int dataTempputStateId) {
		this.dataTempputStateId = dataTempputStateId;
	}
	public double getNum() {
		return num;
	}
	public void setNum(double num) {
		this.num = num;
	}
	
	public int getPermissionId() {
		return permissionId;
	}
	public void setPermissionId(int permissionId) {
		this.permissionId = permissionId;
	}
	
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	
	@Override
	public String toString() {
		return "Data1FGjeh [dataMachineId=" + dataMachineId + ", dataItemId=" + dataItemId + ", dataGJEHStateId="
				+ dataGJEHStateId + ", dataTempputStateId=" + dataTempputStateId + ", num=" + num + ", permissionId="
				+ permissionId + "]";
	}
}
